package com.zhai.domain.activity.service.quota.rule;

/**
 * @Description: 抽象活动责任链实现类
 * @ClassName: AbstractActionChain
 * @Author: zhaiyongxin
 * @Date: 2025/2/20 11:20
 * @Version: 1.0
 */
public abstract class AbstractActionChain implements IActionChain {

    private IActionChain next;

    @Override
    public IActionChain appendNext(IActionChain next) {
        this.next = next;
        return next;
    }

    @Override
    public IActionChain next() {
        return next;
    }
}
